package com.qhg.saas_server.service;

import com.github.pagehelper.PageInfo;
import com.qhg.saas_server.pojo.Comployee;
import com.qhg.saas_server.pojo.dto.ComployeeInfoDto;
import com.qhg.saas_server.pojo.dto.PagingDto;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface ComployeeService {
    //模糊查询名字和部门
    PageInfo SelectComployee(Integer pageNum,Integer pageSize, String comploName, String departName);
    //通过ID查询员工
    ComployeeInfoDto SelectById(Integer comploId);
    //插入
    void InsertComployee(Comployee comployee);
    //修改
    void UpdateComployee(Comployee comployee);
    //重置密码
    void UpdatePassword(Integer comploId,String comploPassword);
    //修改状态
    void UpdateStauts(Integer comploStatus,Integer comploId);
    //删除
    void DeleteComployeeById(Integer comploId);
    //模糊查询名字和部门，并活跃的员工
    PageInfo SelectRComployee(Integer pageNum,Integer pageSize,String comploName,String departName);
}
